package cn.stylefeng.guns.modular.recy.entity;
/*
 */

import com.baomidou.mybatisplus.extension.activerecord.*;
import java.io.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("recy_order_form")
public class OrderForm extends Model<OrderForm> implements Serializable
{
    //alias
    public static final String TABLE_ALIAS = "回收订单";
    public static final String ALIAS_ID = "编号";
    public static final String ALIAS_ORDER_NO = "订单编号";
    public static final String ALIAS_USER_ID = "用户";
    public static final String ALIAS_WASTE_ID = "回收物";
    public static final String ALIAS_WASTE_WEIGHT = "重量";
    public static final String ALIAS_PRICE = "回收单价";
    public static final String ALIAS_TOTAL_PRICE = "回收价";
    public static final String ALIAS_CREATE_TIME = "创建时间";
    public static final String ALIAS_STATE = "状态";
    public static final String ALIAS_BINS_ID = "回收箱";
    public static final String ALIAS_FINISH_TIME = "完成时间";
    public static final String ALIAS_ERROR_CODE = "错误时间";
    public static final String ALIAS_ERROR_MSG = "错误描述";
    public static final String ALIAS_IS_CLEAN = "是否清洁";
    public static final String ALIAS_WASTE_STATUS = "垃圾状态";

    public static final String DATE_FORMAT = "yyyy-MM-dd hh:mm:ss";
    //date formats
    public static final String FORMAT_CREATE_TIME = DATE_FORMAT;
    public static final String FORMAT_FINISH_TIME = DATE_FORMAT;



//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
//columns START
    @TableId(value = "id", type = IdType.ID_WORKER)
    private java.lang.Long id;

    @TableField("order_no")
    private java.lang.String orderNo;

    @TableField("user_id")
    private java.lang.Long userId;

    @TableField("waste_id")
    private java.lang.Long wasteId;

    @TableField("waste_weight")
    private Long wasteWeight;

    @TableField("price")
    private Long price;

    @TableField("total_price")
    private Long totalPrice;

    @TableField("create_time")
    private java.util.Date createTime;

    @TableField("state")
    private java.lang.Long state;

    @TableField("bins_id")
    private java.lang.Long binsId;

    @TableField("finish_time")
    private java.util.Date finishTime;

    @TableField("error_code")
    private java.lang.Long errorCode;

    @TableField("error_msg")
    private java.lang.String errorMsg;

    @TableField("is_clean")
    private java.lang.Integer isClean;

    @TableField("waste_status")
    private java.lang.Integer wasteStatus;

//columns END







    

}
